import SEMrouter from 'sme-router'

import loginRoute from '$r/login'
import advRoute from "$r/adv";
import adminListRoute from "$r/adminList";
import advListRoute from "$r/advList";

const router = new SEMrouter('app','html5')
window.router=router
//登录页面
router.route('/login',loginRoute)
//管理页面
router.route('/adv',advRoute)
//二级渲染
router.route('/adv/adminList',adminListRoute )

router.route('/adv/advList',advListRoute)

// //测试ajax请求
// axios.get('/api1/test')
